package com.gemall.library.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.Window;
import android.view.WindowManager;

import com.bumptech.glide.Glide;
import com.gemall.library.hepler.ActivityStackManager;

import net.steamcrafted.loadtoast.LoadToast;


public class LibraryBaseActivity extends UIActivity {

    public LoadToast lt;


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int getLayoutId() {
        ActivityStackManager.getInstance().onActivityCreated(this);
        return 0;
    }

    @Override
    protected int getTitleBarId() {
        return 0;
    }

    @Override
    protected void initView() {
        lt = new LoadToast(this);

    }

    @Override
    protected void initData() {

    }




    @Override
    protected void onDestroy() {
        ActivityStackManager.getInstance().onActivityDestroyed(this);
        super.onDestroy();
    }


}
